package com.dongjiantong.farmrecords.enums;

/**
 * 生产记录类型枚举
 * @author Lee
 * @date 2018/1/9
 */
public enum ProductRelateTypeEnum {

    //生产记录的记录类型

    /**
     * 1.产地检疫
     */
    QUARANTINE_ORIGIN(1,"产地检疫"),

    /**
     * 2.无害化处理
     */
    HARMLESS_TREATMENT(2,"无害化处理"),

    /**
     * 3.产地转群
     */
    ORIGIN_OF_THE_GROUP(3,"产地转群"),

    /**
     * 4.牛档案
     */
    BULL_RECORDS(4,"牛档案");

    public final Integer code;
    public final String name;

    private ProductRelateTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
